package com.lu.manage.modular.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lu.manage.core.common.node.LayuiTreeNode;
import com.lu.manage.core.common.node.ZTreeNode;
import com.lu.manage.modular.system.model.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2018-12-07
 */
public interface DeptMapper extends BaseMapper<Dept> {

    Page<Dept> listPage(IPage page, @Param("param") Map<String, Object> map);

    List<Dept> getDeptsLikePids(String id);

    List<ZTreeNode> deptTreeList();
}
